﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SPublicData extends Object
    {
        public var code:int;
        public var value:int;
        public var str:String;

        public function SPublicData()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.code);
            param1.writeInt(this.value);
            param1.writeString(this.str);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.code = param1.readInt();
            this.value = param1.readInt();
            this.str = param1.readString();
            return;
        }// end function

    }
}
